package com.xjj.datarources.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * @name: xjj
 * @date: 2021/5/25 14:42
 */

@Data
public class SysRole {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String des;

    private Integer uid;

    @TableField(exist = false)
    private List<SysPermission> permissions;

    @TableField(exist = false)
    private List<SysMenu> menus;


}
